package com.atguigu.spzx.product.service;

import com.atguigu.spzx.model.entity.product.Category;

import java.util.List;

/**
 * @Author: Shylo Sun
 * @Project: spzx-parent
 * @Date: 2023/11/20 11:06
 */
public interface CategoryService {

    // 查询所有一级分类
    List<Category> findOneCategory();

    // 查询所有分类，树形封装
    List<Category> findCategoryTree();

}
